Part Number Hot Search : 
D2004 AMP77 26LS3 14122 11600 B60CFB 1J4B42 D25XB8
Product Description
Full Text Search
 

To Download EVAL-AD9834SDZ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  20 mw power, 2.3 v to 5.5 v, 75 mhz complete dds ad9834 rev. c information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any patent or patent rights of analog devices. trademarks and registered trademarks are the property of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781.329.4700 www.analog.com fax: 781.461.3113 ?2003C2011 analog devices, inc. all rights reserved. features narrow-band sfdr >72 db 2.3 v to 5.5 v power supply output frequency up to 37.5 mhz sine output/triangular output on-board comparator 3-wire spi? interface extended temperature range: ?40c to +105c power-down option 20 mw power consumption at 3 v 20-lead tssop applications frequency stimulus/waveform generation frequency phase tuning and modulation low power rf/communications systems liquid and gas flow measurement sensory applications: proximity, motion, and defect detection test and medical equipment general description the ad9834 is a 75 mhz low power dds device capable of producing high performance sine and triangular outputs. it also has an on-board comparator that allows a square wave to be produced for clock generation. consuming only 20 mw of power at 3 v makes the ad9834 an ideal candidate for power-sensitive applications. capability for phase modulation and frequency modulation is provided. the frequency registers are 28 bits; with a 75 mhz clock rate, resolution of 0.28 hz can be achieved. similarly, with a 1 mhz clock rate, the ad9834 can be tuned to 0.004 hz resolution. frequency and phase modulation are affected by loading registers through the serial interface and toggling the registers using software or the fselect pin and pselect pin, respectively. the ad9834 is written to using a 3-wire serial interface. this serial interface operates at clock rates up to 40 mhz and is compatible with dsp and microcontroller standards. the device operates with a power supply from 2.3 v to 5.5 v. the analog and digital sections are independent and can be run from different power supplies, for example, avdd can equal 5 v with dvdd equal to 3 v. the ad9834 has a power-down pin (sleep) that allows external control of the power-down mode. sections of the device that are not being used can be powered down to minimize the current consumption. for example, the dac can be powered down when a clock output is being generated. the part is available in a 20-lead tssop. functional block diagram 12 mux mux comparator msb cap/2.5v dvdd agnd avdd mclk ad9834 fsync sclk sdata comp iout ioutb dgnd regulator refout fs adjust vin fselect 12-bit phase0 reg 12-bit phase1 reg sleep reset pselect mux mux mux sign bit out vcc 2.5v on-board reference 16-bit control register full-scale control 10-bit dac divided by 2 sin rom phase accumulator (28-bit) 28-bit freq0 reg 28-bit freq1 reg serial interface and control logic 02705-001 figure 1.
ad9834 rev. c | page 2 of 36 table of contents features .............................................................................................. 1 applications....................................................................................... 1 general description ......................................................................... 1 functional block diagram .............................................................. 1 revision history ............................................................................... 3 specifications..................................................................................... 4 timing characteristics ................................................................ 6 absolute maximum ratings............................................................ 7 esd caution.................................................................................. 7 pin configuration and function descriptions............................. 8 typical performance characteristics ........................................... 10 terminology .................................................................................... 14 theory of operation ...................................................................... 15 circuit description......................................................................... 16 numerically controlled oscillator plus phase modulator ... 16 sin rom ..................................................................................... 16 digital-to-analog converter (dac) ....................................... 16 comparator ................................................................................. 16 regulator...................................................................................... 17 output voltage compliance...................................................... 17 functional description .................................................................. 18 serial interface ............................................................................ 18 powering up the ad9834 ......................................................... 18 latency......................................................................................... 18 control register ......................................................................... 18 frequency and phase registers ................................................ 20 writing to a frequency register............................................... 21 writing to a phase register....................................................... 21 reset function ......................................................................... 21 sleep function.......................................................................... 21 sign bit out pin.................................................................... 22 the iout and ioutb pins...................................................... 22 applications information .............................................................. 23 grounding and layout .................................................................. 26 interfacing to microprocessors..................................................... 27 ad9834 to adsp-21xx interface ............................................. 27 ad9834 to 68hc11/68l11 interface....................................... 27 ad9834 to 80c51/80l51 interface .......................................... 28 ad9834 to dsp56002 interface ............................................... 28 evaluation board ............................................................................ 29 system development platform................................................. 29 ad9834 to sport interface..................................................... 29 xo vs. external clock................................................................ 29 power supply............................................................................... 29 evaluation board schematics ................................................... 30 evaluation board layout........................................................... 32 outline dimensions ....................................................................... 35 ordering guide .......................................................................... 35
ad9834 rev. c | page 3 of 36 revision history 2/11rev. b to rev. c changes to i dd parameter, table 1 ..................................................5 changes to fs adjust description, table 4................................8 added output voltage compliance section................................17 changes to figure 31 ......................................................................23 changes to figure 32 ......................................................................24 deleted using the ad9834 evaluation board section and the prototyping area section ...............................................................28 added system development platform section, ad9834 to sport interface section, figure 39, and figure 40; renumbered sequentially ..............................................................29 changes to xo vs. external clock section and power supply section ..............................................................................................29 deleted bill of materials, table 19; renumbered sequentially ..............................................................30 added evaluation board schematics section and figure 41 ....30 added figure 42 ..............................................................................31 added evaluation board layout section and figure 43 ............32 added figure 44 ..............................................................................33 added figure 45 ..............................................................................34 changes to ordering guide...........................................................35 4/10rev. a to rev. b changes to comparator section ...................................................15 added figure 28 ..............................................................................16 changes to serial interface section ..............................................17 8/06rev. 0 to rev. a updated format ................................................................. universal changed to 75 mhz complete dds ............................... universal changes to features section ............................................................1 changes to table 1 ............................................................................4 changes to table 2 ............................................................................6 changes to table 3 ............................................................................8 added figure 10, figures renumbered sequentially ...................9 added figure 16 and figure 17, figures renumbered sequentially......................................................................................10 changes to table 6 ..........................................................................19 changes to writing a frequency register section .....................20 changes to figure 29 ......................................................................21 changes to table 19 ........................................................................30 changes to figure 38 ......................................................................28 2/03revision 0: initial version
ad9834 rev. c | page 4 of 36 specifications vdd = 2.3 v to 5.5 v, agnd = dgnd = 0 v, t a = t min to t max , r set = 6.8 k, r load = 200 for iout and ioutb, unless otherwise noted. table 1. grade b, grade c 1 parameter 2 min typ max unit test conditions/comments signal dac specifications resolution 10 bits update rate 75 msps i out full scale 3 3.0 ma v out max 0.6 v v out min 30 mv output compliance 4 0.8 v dc accuracy integral nonlinearity 1 lsb differential nonlinearity 0.5 lsb dds specifications dynamic specifications signal-to-noise ratio 55 60 db f mclk = 75 mhz, f out = f mclk /4096 total harmonic distortion ?66 ?56 dbc f mclk = 75 mhz, f out = f mclk /4096 spurious-free dynamic range (sfdr) wideband (0 to nyquist) ?60 ?56 dbc f mclk = 75 mhz, f out = f mclk /75 narrow band (200 khz) b grade ?78 ?67 dbc f mclk = 50 mhz, f out = f mclk /50 c grade ?74 ?65 dbc f mclk = 75 mhz, f out = f mclk /75 clock feedthrough ?50 dbc wake-up time 1 ms comparator input voltage range 1 v p-p ac-coupled internally input capacitance 10 pf input high-pass cutoff frequency 4 mhz input dc resistance 5 m input leakage current 10 a output buffer output rise/fall time 12 ns using a 15 pf load output jitter 120 ps rms 3 mhz sine wave, 0.6 v p-p voltage reference internal reference 1.12 1.18 1.24 v refout output impedance 5 1 k reference temperature coefficient 100 ppm/c logic inputs input high voltage, v inh 1.7 v 2.3 v to 2.7 v power supply 2.0 v 2.7 v to 3.6 v power supply 2.8 v 4.5 v to 5.5 v power supply input low voltage, v inl 0.6 v 2.3 v to 2.7 v power supply 0.7 v 2.7 v to 3.6 v power supply 0.8 v 4.5 v to 5.5 v power supply input current, i inh /i inl 10 a input capacitance, c in 3 pf
ad9834 rev. c | page 5 of 36 grade b, grade c 1 parameter 2 min typ max unit test conditions/comments power supplies avdd 2.3 5.5 v f mclk = 75 mhz, f out = f mclk /4096 dvdd 2.3 5.5 v i aa 6 3.8 5 ma i dd 6 b grade 2.0 3 ma i dd code dependent (see figure 8 ) c grade 2.7 3.7 ma i dd code dependent (see figure 8 ) i aa + i dd 6 b grade 5.8 8 ma c grade 6.5 8.7 ma low power sleep mode b grade 0.5 ma dac powered down, mclk running c grade 0.6 ma dac powered down, mclk running 1 b grade: mclk = 50 mhz; c grade: mclk = 75 mhz. for specifications that do not specify a grade, the value applies to both grad es. 2 operating temperature range is as follows: b, c versions : ?40c to +105c, typical sp ecifications are at 25c. 3 for compliance, with spec ified load of 200 , i out full scale should not exceed 4 ma. 4 guaranteed by design. 5 applies when refout is sourcing current. the impedance is higher when refout is sinking current. 6 measured with the digital inputs static and equal to 0 v or dvdd. r set 6.8k ? iout 12 10-bit dac 20pf fs adjust ad9834 regulator 100n f cap/2.5v 10nf refout comp 10nf avdd sin rom r load 200 ? on-board reference full-scale control 02705-002 figure 2. test circuit used to test the specifications
ad9834 rev. c | page 6 of 36 timing characteristics dvdd = 2.3 v to 5.5 v, agnd = dgnd = 0 v, unless otherwise noted. table 2. parameter 1 limit at t min to t max unit test conditions/comments t 1 20/13.33 ns min mclk period: 50 mhz/75 mhz t 2 8/6 ns min mclk high duration: 50 mhz/75 mhz t 3 8/6 ns min mclk low duration: 50 mhz/75 mhz t 4 25 ns min sclk period t 5 10 ns min sclk high duration t 6 10 ns min sclk low duration t 7 5 ns min fsync-to-sclk falling edge setup time t 8 min 10 ns min fsync-to-sclk hold time t 8 max t 4 ? 5 ns max t 9 5 ns min data setup time t 10 3 ns min data hold time t 11 8 ns min fselect, pselect setup time before mclk rising edge t 11a 8 ns min fselect, pselect setup time after mclk rising edge t 12 5 ns min sclk high to fsync falling edge setup time 1 guaranteed by design, not production tested. timing diagrams mclk t 1 t 3 t 2 02705-003 figure 3. master clock fselect, pselect valid data valid data valid data mclk t 11a t 11 02705-004 figure 4. control timing d0 sclk fsync sdata d15 d14 d2 d1 d15 d14 t 12 t 7 t 6 t 8 t 5 t 4 t 9 t 10 02705-005 figure 5. serial timing
ad9834 rev. c | page 7 of 36 absolute maximum ratings t a = 25c, unless otherwise noted. table 3. parameter ratings avdd to agnd ?0.3 v to +6 v dvdd to dgnd ?0.3 v to +6 v avdd to dvdd ?0.3 v to +0.3 v agnd to dgnd ?0.3 v to +0.3 v cap/2.5v 2.75 v digital i/o voltage to dgnd ?0.3 v to dvdd + 0.3 v analog i/o voltage to agnd ?0.3 v to avdd + 0.3 v operating temperature range industrial (b version) ?40c to +105c storage temperature range ?65c to +150c maximum junction temperature 150c tssop package ja thermal impedance 143c/w jc thermal impedance 45c/w lead temperature, soldering (10 sec) 300c ir reflow, peak temperature 220c reflow soldering (pb-free) peak temperature 260c (+0/C5) time at peak temperature 10 sec to 40 sec stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. esd caution
ad9834 rev. c | page 8 of 36 pin configuration and fu nction descriptions 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 refout comp avdd dgnd cap/2.5v dvdd fs adjust iout agnd vin sclk fsync sign bit out pselect fselect mclk reset sleep sdata ioutb ad9834 top view (not to scale) 02705-006 figure 6. pin configuration table 4. pin function descriptions pin no. mnemonic description analog signal and reference 1 fs adjust full-scale adjust control. a resistor (r set ) is connected between this pin and agnd. this determines the magnitude of the full-scale dac current. the relationship between r set and the full-scale current is as follows: iout full scale = 18 fsadjust/r set fsadjust = 1.15 v nominal, r set = 6.8 k typical. 2 refout voltage reference output. the ad9834 has an internal 1.20 v reference that is made available at this pin. 3 comp dac bias pin. this pin is used for decoupling the dac bias voltage. 17 vin input to comparator. the comparator can be used to gene rate a square wave from the sinusoidal dac output. the dac output should be filtered appropriately before bein g applied to the comparator to improve jitter. when bit opbiten and bit sign/pib in the control register are se t to 1, the comparator input is connected to vin. 19, 20 iout, ioutb current output. this is a high impedance current source. a load resistor of nominally 200 should be connected between iout and agnd. ioutb should preferably be tied through an external load resistor of 200 to agnd, but it can be tied directly to agnd. a 20 pf capacitor to agnd is also recommended to prevent clock feedthrough. power supply 4 avdd positive power supply for the analog section. avdd can have a value from 2.3 v to 5.5 v. a 0.1 f decoupling capacitor should be connected between avdd and agnd. 5 dvdd positive power supply for the digital section. dvdd can have a value from 2.3 v to 5.5 v. a 0.1 f decoupling capacitor should be connected between dvdd and dgnd. 6 cap/2.5v the digital circuitry operates from a 2.5 v power supply. this 2.5 v is generated from dvdd using an on-board regulator (when dvdd exceeds 2.7 v). the regulator requires a decoupling capacitor of typically 100 nf that is connected from cap/2.5 v to dgnd. if dvdd is equal to or less than 2.7 v, cap/2.5 v should be shorted to dvdd. 7 dgnd digital ground. 18 agnd analog ground. digital interface and control 8 mclk digital clock input. dds output frequencies are expressed as a binary fraction of the frequency of mclk. the output frequency accuracy and phase no ise are determined by this clock. 9 fselect frequency select input. fselect controls which frequenc y register, freq0 or freq1, is used in the phase accumulator. the frequency register to be used can be selected using pin fselect or bit fsel. when bit fsel is used to select the frequency register, the fselect pin should be tied to cmos high or low. 10 pselect phase select input. pselect controls which phase register, phase0 or phase1, is added to the phase accumulator output. the phase register to be used can be selected using pin pselect or bit psel. when the phase registers are being controlled by bit psel, the pselect pin should be tied to cmos high or low. 11 reset active high digital input. reset resets appropriate internal registers to zero; this corr esponds to an analog output of midscale. reset does not affect any of the addressable registers. 12 sleep active high digital input. when this pin is high, the dac is powered down. this pin has the same function as control bit sleep12.
ad9834 rev. c | page 9 of 36 pin no. mnemonic description 13 sdata serial data input. the 16-bit seri al data-word is applied to this input. 14 sclk serial clock input. data is clocke d into the ad9834 on each falling sclk edge. 15 fsync active low control input. this is the frame synchronizatio n signal for the input data. when fsync is taken low, the internal logic is informed that a new word is being loaded into the device. 16 sign bit out logic output. the comparator output is available on this pin or, alternatively, the msb from the nco can be output on this pin. setting bit opbiten in the control register to 1 enables this output pi n. bit sign/pib determines whether the comparator output or the ms b from the nco is output on the pin.
ad9834 rev. c | page 10 of 36 typical performance characteristics mclk frequency (mhz) 4.0 0 0 75 5v 3v t a = 25c i dd (ma) 3.5 3.0 2.5 2.0 1.5 1.0 0.5 15 30 45 60 02705-007 figure 7. typical current consumption (i dd ) vs. mclk frequency 4.0 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 f out (hz) i dd (ma) t a = 25c 5v 3v 100 1k 10k 100k 1m 10m 100m 02705-008 figure 8. typical i dd vs. f out for f mclk = 50 mhz mclk frequency (mhz) sfdr (dbc) ?65 ? 60 ?90 ?70 ?75 ?80 ?85 avdd = dvdd = 3v t a = 25c sfdr db mclk/50 sfdr db mclk/7 01 53 04 56 07 5 02705-009 figure 9. narrow-band sfdr vs. mclk frequency 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 ?80 mclk frequency (mhz) sfdr (dbc) 0 10203040506070 f out = 1mhz sfdr db mclk/7 avdd = dvdd = 3v t a = 25c 02705-010 figure 10. wideband sfdr vs. mclk frequency sfdr (dbc) 0 ?40 ?80 ?50 ?60 ?70 ?10 ?20 ?30 50mhz clock 30mhz clock avdd = dvdd = 3v t a = 25c f out /f mclk 0.001 0.01 0.1 1.0 10 100 0 2705-011 figure 11. wideband sfdr vs. f out /f mclk for various mclk frequencies mclk frequency (mhz) snr (db) ?60 ?65 ?70 ?50 ?55 ? 40 ?45 1.0 5.0 10.0 12.5 25.0 50.0 t a = 25c avdd = dvdd = 3v f out = mclk/4096 02705-012 figure 12. snr vs. mclk frequency
ad9834 rev. c | page 11 of 36 500 1000 700 650 600 550 850 750 800 900 950 5.5v 2.3v temperature (c) ?40 25 105 wake-up time (s) 02705-013 figure 13. wake-up time vs. temperature 1.150 1.125 1.100 1.175 1.200 1.250 1.225 temperature (c) v (refout) (v) lower range upper range ?40 25 105 0 2705-014 figure 14. v refout vs. temperature frequency (hz) (dbc/hz) ?150 ?110 ? 100 ?120 ?130 ?140 ?160 avdd = dvdd = 5v t a = 25c 100 1k 10k 100k 200k 02705-015 figure 15. output phase noise, f out = 2 mhz, mclk = 50 mhz 0.20 0 ?40?200 20406080100 02705-037 temperature (c) dvdd (v) 0.18 0.16 0.14 0.12 0.10 0.08 0.06 0.04 0.02 dvdd = 3.3v dvdd = 5.5v dvdd = 2.3v figure 16. sign bit out low level, i sink = 1 ma 5.5 1.5 ?40?200 20406080100 02705-038 temperature (c) dvdd (v) 5.0 4.5 4.0 3.5 3.0 2.5 2.0 dvdd = 2.3v dvdd = 2.7v dvdd = 3.3v dvdd = 4.5v dvdd = 5.5v figure 17. sign bit out high level, i sink = 1 ma frequency (hz) (db) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 rwb 100 st 100 sec vwb 30 0 100k 02705-016 figure 18. f mclk = 10 mhz; f out = 2.4 khz, frequency word = 000fba9
ad9834 rev. c | page 12 of 36 frequency (hz) (db) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 5m rwb 1k st 50 sec vwb 300 02705-017 figure 19. f mclk = 10 mhz; f out = 1.43 mhz = f mclk /7, frequency word = 2492492 frequency (hz) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 05 m rwb 1k st 50 sec vwb 300 (db) 0 2705-018 figure 20. f mclk = 10 mhz; f out = 3.33 mhz = f mclk /3, frequency word = 5555555 frequency (hz) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 160k rwb 100 st 200 sec vwb 30 (db) 02705-019 figure 21. f mclk = 50 mhz; f out = 12 khz, frequency word = 000fba9 frequency (hz) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 01 rwb 100 st 200 sec vwb 300 . 6 m (db) 0 2705-020 figure 22. f mclk = 50 mhz; f out = 120 khz, frequency word = 009d496 frequency (hz) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 02 rwb 1k st 200 sec vwb 300 5 m (db) 02705-021 figure 23. f mclk = 50 mhz; f out = 1.2 mhz, frequency word = 0624dd3 frequency (hz) (db) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 25m rwb 1k st 200 sec vwb 300 02705-022 figure 24. f mclk = 50 mhz; f out = 4.8 mhz, frequency word = 189374c
ad9834 rev. c | page 13 of 36 frequency (hz) (db) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 25m rwb 1k st 200 sec vwb 300 02705-023 figure 25. f mclk = 50 mhz; f out = 7.143 mhz = f mclk /7, frequency word = 2492492 frequency (hz) (db) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 25m rwb 1k st 200 sec vwb 300 02705-024 figure 26. f mclk = 50 mhz; f out = 16.667 mhz = f mclk /3, frequency word = 5555555
ad9834 rev. c | page 14 of 36 terminology integral nonlinearity (inl) inl is the maximum deviation of any code from a straight line passing through the endpoints of the transfer function. the endpoints of the transfer function are zero scale, a point 0.5 lsb below the first code transition (000 . . . 00 to 000 . . . 01), and full scale, a point 0.5 lsb above the last code transition (111 . . . 10 to 111 . . . 11). the error is expressed in lsbs. differential nonlinearity (dnl) dnl is the difference between the measured and ideal 1 lsb change between two adjacent codes in the dac. a specified dnl of 1 lsb maximum ensures monotonicity. output compliance the output compliance refers to the maximum voltage that can be generated at the output of the dac to meet the specifications. when voltages greater than that specified for the output com- pliance are generated, the ad9834 may not meet the specifications listed in the data sheet. spurious-free dynamic range (sfdr) along with the frequency of interest, harmonics of the fundamental frequency and images of these frequencies are present at the output of a dds device. the sfdr refers to the largest spur or harmonic present in the band of interest. the wideband sfdr gives the magnitude of the largest harmonic or spur relative to the magnitude of the fundamental frequency in the 0 to nyquist bandwidth. the narrow-band sfdr gives the attenuation of the largest spur or harmonic in a bandwidth of 200 khz about the fundamental frequency. total harmonic distortion (thd) thd is the ratio of the rms sum of harmonics to the rms value of the fundamental. for the ad9834, thd is defined as 1 65432 v vvvvv thd 22222 log20 ++++ = where v 1 is the rms amplitude of the fundamental and v 2 , v 3 , v 4 , v 5 , and v 6 are the rms amplitudes of the second harmonic through the sixth harmonic. signal-to-noise ratio (snr) snr is the ratio of the rms value of the measured output signal to the rms sum of all other spectral components below the nyquist frequency. the value for snr is expressed in decibels. clock feedthrough there is feedthrough from the mclk input to the analog output. clock feedthrough refers to the magnitude of the mclk signal relative to the fundamental frequency in the output spectrum of the ad9834.
ad9834 rev. c | page 15 of 36 theory of operation sine waves are typically thought of in terms of their magnitude form a(t) = sin (t). however, these are nonlinear and not easy to generate except through piecewise construction. on the other hand, the angular information is linear in nature, that is, the phase angle rotates through a fixed angle for each unit of time. the angular rate depends on the frequency of the signal by the traditional rate of = 2 f . magnitude phase +1 0 ?1 2p 0 2 4 6 2 4 6 02705-025 figure 27. sine wave knowing that the phase of a sine wave is linear and given a reference interval (clock period), the phase rotation for that period can be determined. phase = t solving for , = phase / t = 2 f solving for f and substituting the reference clock frequency for the reference period (1/ f mclk = t ), f = phase f mclk / 2 the ad9834 builds the output base d on this simple equation. a simple dds chip can implement this equation with three major subcircuits: numerically controlled oscillator + phase modulator, sin rom, and digital-to-analog converter (dac). each of these subcircuits is discussed in the circuit description section.
ad9834 rev. c | page 16 of 36 circuit description the ad9834 is a fully integrated direct digital synthesis (dds) chip. the chip requires one reference clock, one low precision resistor, and eight decoupling capacitors to provide digitally created sine waves up to 37.5 mhz. in addition to the generation of this rf signal, the chip is fully capable of a broad range of simple and complex modulation schemes. these modulation schemes are fully implemented in the digital domain, allowing accurate and simple realization of complex modulation algorithms using dsp techniques. the internal circuitry of the ad9834 consists of the following main sections: a numerically controlled oscillator (nco), frequency and phase modulators, sin rom, a dac, a comparator, and a regulator. numerically controlled oscillator plus phase modulator this consists of two frequency select registers, a phase accumulator, two phase offset registers, and a phase offset adder. the main component of the nco is a 28-bit phase accumulator. continuous time signals have a phase range of 0 to 2. outside this range of numbers, the sinusoid functions repeat themselves in a periodic manner. the digital implementation is no different. the accumulator simply scales the range of phase numbers into a multibit digital word. the phase accumulator in the ad9834 is implemented with 28 bits. therefore, in the ad9834, 2 = 2 28 . likewise, the phase term is scaled into this range of numbers: 0 < phase < 2 28 ? 1. making these substitutions into the previous equation f = phase f mclk /2 28 where 0 < phase < 2 28 ? 1. the input to the phase accumulator can be selected either from the freq0 register or freq1 register and is controlled by the fselect pin or the fsel bit. ncos inherently generate con- tinuous phase signals, thus avoiding any output discontinuity when switching between frequencies. following the nco, a phase offset can be added to perform phase modulation using the 12-bit phase registers. the contents of one of these phase registers is added to the msbs of the nco. the ad9834 has two phase registers, the resolution of these registers being 2/4096. sin rom to make the output from the nco useful, it must be converted from phase information into a sinusoidal value. phase informa- tion maps directly into amplitude; therefore, the sin rom uses the digital phase information as an address to a look-up table and converts the phase information into amplitude. although the nco contains a 28-bit phase accumulator, the output of the nco is truncated to 12 bits. using the full resolu- tion of the phase accumulator is impractical and unnecessary because it requires a look-up table of 2 28 entries. it is necessary only to have sufficient phase resolution such that the errors due to truncation are smaller than the resolution of the 10-bit dac. this requires the sin rom to have two bits of phase resolution more than the 10-bit dac. the sin rom is enabled using the opbiten and mode bits in the control register. this is explained further in table 18 . digital-to-analog converter (dac) the ad9834 includes a high impedance current source 10-bit dac capable of driving a wide range of loads. the full-scale output current can be adjusted for optimum power and external load requirements using a single external resistor (r set ). the dac can be configured for either single-ended or differential operation. iout and ioutb can be connected through equal external resistors to agnd to develop complementary output voltages. the load resistors can be any value required, as long as the full-scale voltage developed across it does not exceed the voltage compliance range. because full-scale current is controlled by r set , adjustments to r set can balance changes made to the load resistors. comparator the ad9834 can be used to generate synthesized digital clock signals. this is accomplished by using the on-board self-biasing comparator that converts the sinusoidal signal of the dac to a square wave. the output from the dac can be filtered externally before being applied to the comparator input. the comparator reference voltage is the time average of the signal applied to v in . the comparator can accept signals in the range of approximately 100 mv p-p to 1 v p-p. as the comparator input is ac-coupled, to operate correctly as a zero crossing detector, it requires a minimum input frequency of typically 3 mhz. the comparator output is a square wave with an amplitude from 0 v to dvdd.
ad9834 rev. c | page 17 of 36 the ad9834 is a sampled signal with its output following nyquist sampling theorem. specifically, its output spectrum contains the fundamental plus aliased signals (images) that occur at multiples of the reference clock frequency and the selected output frequency. a graphical representation of the sampled spectrum, with aliased images, is shown in figure 28 . the prominence of the aliased images is dependent on the ratio of f out to mclk. if ratio is small, the aliased images are very prominent and of a relatively high energy level as determined by the sin(x)/x roll-off of the quantized dac output. in fact, depending on the f out /reference clock relationship, the first aliased image can be on the order of ?3 db below the fundamental. a low-pass filter is generally placed between the output of the dac and the input of the comparator to further suppress the effects of aliased images. obviously, consideration must be given to the relationship of the selected output frequency and the reference clock frequency to avoid unwanted (and unexpected) output anomalies. to apply the ad9834 as a clock generator, limit the selected output frequency to <33% of reference clock frequency, and thereby avoid generating aliased signals that fall within, or close to, the output band of interest (generally dc- selected output frequency). this practice eases the complexity (and cost) of the external filt er requirement for the clock generator application. refer to the an-837 application note for more information. to enable the comparator, bit sign/pib and bit opbiten in the control resister are set to 1. this is explained further in table 17 . regulator the ad9834 has separate power supplies for the analog and digital sections. avdd provides the power supply required for the analog section, and dvdd provides the power supply for the digital section. both of these supplies can have a value of 2.3 v to 5.5 v and are independent of each other. for example, the analog section can be operated at 5 v, and the digital section can be operated at 3 v, or vice versa. the internal digital section of the ad9834 is operated at 2.5 v. an on-board regulator steps down the voltage applied at dvdd to 2.5 v. the digital interface (serial port) of the ad9834 also operates from dvdd. these digital signals are level shifted within the ad9834 to make them 2.5 v compatible. when the applied voltage at the dvdd pin of the ad9834 is equal to or less than 2.7 v, pin cap/2.5v and pin dvdd should be tied together, thus bypassing the on-board regulator. output voltage compliance the ad9834 has a maximum current density, set by the r set , of 4 ma. the maximum output voltage from the ad9834 is v dd ? 1.5 v. this is to ensure that the output impedance of the internal switch does not change, affecting the spectral performance of the part. for a minimum supply of 2.3 v, the maximum output voltage is 0.8 v. specifications in table 1 are guaranteed with an r set of 6.8 k and an r load of 200 . 02705-040 system clock f out f c ? f out f c + f out 2 f c ? f out 2 f c + f out 3 f c ? f out 3 f c + f out f c 0hz first image second image third image fourth image fifth image sixth image 2 f c 3 f c frequency (hz) signal amplitude sin x/x envelope x = ( f / f c ) figure 28. the dac output spectrum
ad9834 rev. c | page 18 of 36 functional description serial interface the ad9834 has a standard 3-wire serial interface that is com- patible with spi, qspi?, microwire?, and dsp interface standards. data is loaded into the device as a 16-bit word under the control of a serial clock input (sclk). the timing diagram for this operation is given in figure 5 . for a detailed example of programming the ad9833 and ad9834 devices, refer to the an-1070 application note . the fsync input is a level triggered input that acts as a frame synchronization and chip enable. data can only be transferred into the device when fsync is low. to start the serial data transfer, fsync should be taken low, observing the minimum fsync-to-sclk falling edge setup time (t 7 ). after fsync goes low, serial data is shifted into the input shift register of the device on the falling edges of sclk for 16 clock pulses. fsync can be taken high after the 16th falling edge of sclk, observing the minimum sclk falling edge to fsync rising edge time (t 8 ). alternatively, fsync can be kept low for a multiple of 16 sclk pulses and then brought high at the end of the data transfer. in this way, a continuous stream of 16-bit words can be loaded while fsync is held low, with fsync only going high after the 16th sclk falling edge of the last word is loaded. the sclk can be continuous, or alternatively, the sclk can idle high or low between write operations but must be high when fsync goes low (t 12 ). powering up the ad9834 the flow chart in figure 31 shows the operating routine for the ad9834. when the ad9834 is powered up, the part should be reset. this resets appropriate internal registers to 0 to provide an analog output of midscale. to avoid spurious dac outputs during ad9834 initialization, the reset bit/pin should be set to 1 until the part is ready to begin generating an output. reset does not reset the phase, frequency, or control registers. these registers contain invalid data, and, therefore, should be set to a known value by the user. the reset bit/pin should then be set to 0 to begin generating an output. the data appears on the dac output eight mclk cycles after reset is set to 0. latency latency is associated with each operation. when pin fselect and pin pselect change value, there is a pipeline delay before control is transferred to the selected register. when the t 11 and t 11a timing specifications are met (see figure 4 ), fselect and pselect have latencies of eight mclk cycles. when the t 11 and t 11a timing specifications are not met, the latency is increased by one mclk cycle. similarly, there is a latency associated with each asynchronous write operation. if a selected frequency/phase register is loaded with a new word, there is a delay of eight to nine mclk cycles before the analog output changes. there is an uncertainty of one mclk cycle because it depends on the position of the mclk rising edge when the data is loaded into the destination register. the negative transition of the reset and sleep functions are sampled on the internal falling edge of mclk. therefore, they also have a latency associated with them. control register the ad9834 contains a 16-bit control register that sets up the ad9834 as the user wants to operate it. all control bits, except mode, are sampled on the internal negative edge of mclk. table 6 describes the individual bits of the control register. the different functions and the various output options from the ad9834 are described in more detail in the frequency and phase registers section. to inform the ad9834 that the contents of the control register are to be altered, db15 and db14 must be set to 0 as shown in table 5 . table 5. control register db15 db14 db13 . . . db0 0 0 control bits
ad9834 rev. c | page 19 of 36 mux sleep12 sleep1 opbiten ioutb iout comparator vin sign/pib mux msb sign bit out 0 1 mux 1 0 0 1 digital output (enable) (low power) 10-bit dac divide by 2 sin rom mode + opbiten phase accumulator (28-bit) 02705-026 figure 29. function of control bits db15 db14 db13 db12 db11 db10 db9 db8 db7 db6 db5 db4 db3 db2 db1 db0 0 0 b28 hlb fsel psel pin/sw reset sleep1 sleep12 opbiten sign/pib div2 0 mode 0 table 6. description of bits in the control register bit name description db13 b28 two write operations are required to load a complete word into either of the frequency registers. b28 = 1 allows a complete word to be loaded into a freq uency register in two consecutive writes. the first write contains the 14 lsbs of the frequency word and the next wr ite contains the 14 msbs. the first two bits of each 16-bit word define the frequency register the word is loaded to and should, therefore, be the same for both of the consecutive writes. refer to table 10 for the appropriate addresses. the write to the frequency register occurs after both words have been loaded. an example of a complete 28-bit write is shown in table 11 . note however, that consecutive 28-bit writes to the same frequency register are not allowe d, switch between frequency registers to do this type of function. b28 = 0, the 28-bit frequency register operates as two 14- bit registers, one containing the 14 msbs and the other containing the 14 lsbs. this means that the 14 msbs of the frequency word can be altered independent of the 14 lsbs, and vice versa. to alter the 14 msbs or the 14 lsbs, a single write is made to the appropriate frequency address. the control bit db12 (hlb) informs the ad9834 whether the bits to be altered are the 14 msbs or 14 lsbs. db12 hlb this control bit allows the user to cont inuously load the msbs or lsbs of a fr equency register ignoring the remaining 14 bits. this is useful if the complete 28-bit resolution is not required. hlb is used in conjunction with db13 (b28). this control bit indicates whether the 14 bits being loaded are be ing transferred to the 14 msbs or 14 lsbs of the addressed frequency register. db13 (b28) must be set to 0 to be able to change the msbs and lsbs of a frequency word separately. when db13 (b28) = 1, this control bit is ignored. hlb = 1 allows a write to the 14 msbs of the addressed frequency register. hlb = 0 allows a write to the 14 lsbs of the addressed frequency register. db11 fsel the fsel bit defines whether the freq0 register or the fr eq1 register is used in the phase accumulator. see table 8 to select a frequency register. db10 psel the psel bit defines whether the phase0 register data or the phase1 register data is added to the output of the phase accumulator. see table 9 to select a phase register. db9 pin/sw functions that select frequency and phase registers, re set internal registers, and power down the dac can be implemented using either software or hardware. pin/sw selects the source of control for these functions. pin/sw = 1 implies that the functions are bein g controlled using the appropriate control pins. pin/sw = 0 implies that the functions are bein g controlled using the appropriate control bits. db8 reset reset = 1 resets internal registers to 0, this corresponds to an an alog output of midscale. reset = 0 disables reset. this function is explained in the reset function section. db7 sleep1 sleep1 = 1, the internal mclk is disabled. the dac output remains at its present value as the nco is no longer accumulating. sleep1 = 0, mclk is enabled. this function is explained in the sleep function section. db6 sleep12 sleep12 = 1 powers down the on-chip dac. this is useful when the ad9834 is used to output the msb of the dac data . sleep12 = 0 implies that the dac is acti ve. this function is explained in the sleep function section.
ad9834 rev. c | page 20 of 36 bit name description db5 opbiten the function of this bit is to control whether there is an outp ut at the sign bit out pin. this bit should remain at 0 if the user is not using the sign bit out pin. opbiten = 1 enables the sign bit out pin. opbiten = 0, the sign bit out output buffer is put into a hi gh impedance state, therefore no output is available at the sign bit out pin. db4 sign/pib the function of this bit is to control what is output at the sign bit out pin. sign/pib = 1, the on-board comparator is connected to si gn bit out. after filtering the sinusoidal output from the dac, the waveform can be applied to the comparator to generate a square waveform. refer to table 17 . sign/pib = 0, the msb (or msb/2) of the dac data is connected to the sign bit out pin. bit div2 controls whether it is the msb or msb/2 that is output. db3 div2 div2 is used in association with sign/pib and opbiten. refer to table 17 . div2 = 1, the digital output is passed directly to the sign bit out pin. div2 = 0, the digital output/2 is passed directly to the sign bit out pin. db2 reserved this bit must always be set to 0. db1 mode the function of this bit is to control what is output at the io ut pin/ioutb pin. this bit should be set to 0 if the control bit opbiten = 1. mode = 1, the sin rom is bypassed, resu lting in a triangle output from the dac. mode = 0, the sin rom is used to convert the phase informat ion into amplitude information, resulting in a sinusoidal signal at the output. see table 18 . db0 reserved this bit must always be set to 0. frequency and phase registers the ad9834 contains two frequency registers and two phase registers. these are described in table 7 . table 7. frequency/phase registers register size description freq0 28 bits frequency register 0. when either the fsel bit or fselect pin = 0, this register defines the output frequency as a fraction of the mclk frequency. freq1 28 bits frequency register 1. when either the fsel bit or fselect pin = 1, this register defines the output frequency as a fraction of the mclk frequency. phase0 12 bits phase offset register 0. when either the psel bit or pselect pin = 0, the contents of this register are added to the output of the phase accumulator. phase1 12 bits phase offset register 1. when either the psel bit or pselect pin = 1, the contents of this register are added to the output of the phase accumulator. the analog output from the ad9834 is f mclk /2 28 freqreg where freqreg is the value loaded into the selected frequency register. this signal is phase shifted by 2/4096 phasereg where phasereg is the value contained in the selected phase register. consideration must be given to the relationship of the selected output frequency and the reference clock frequency to avoid unwanted output anomalies. access to the frequency and phase registers is controlled by both the fselect and pselect pins, and the fsel and psel control bits. if the control bit pin/sw = 1, the pins control the function; whereas, if pin/sw = 0, the bits control the function. this is outlined in table 8 and table 9 . if the fsel and psel bits are used, the pins should be held at cmos logic high or low. control of the frequency/phase registers is interchangeable from the pins to the bits. table 8. selecting a frequency register fselect fsel pin/sw selected register 0 x 1 freq0 reg 1 x 1 freq1 reg x 0 0 freq0 reg x 1 0 freq1 reg table 9. selecting a phase register pselect psel pin/sw selected register 0 x 1 phase0 reg 1 x 1 phase1 reg x 0 0 phase0 reg x 1 0 phase1 reg the fselect pin and pselect pin are sampled on the internal falling edge of mclk. it is recommended that the data on these pins does not change within a time window of the falling edge of mclk (see figure 4 for timing). if fselect or pselect changes value when a falling edge occurs, there is an uncertainty of one mclk cycle because it pertains to when control is transferred to the other frequency/phase register. the flow charts in figure 32 and figure 33 show the routine for selecting and writing to the frequency and phase registers of the ad9834.
ad9834 rev. c | page 21 of 36 writing to a frequency register when writing to a frequency register, bit db15 and bit db14 give the address of the frequency register. table 10. frequency register bits db15 db14 db13 . . . db0 0 1 14 freq0 reg bits 1 0 14 freq1 reg bits if the user wants to alter the entire contents of a frequency register, two consecutive writes to the same address must be performed because the frequency registers are 28 bits wide. the first write contains the 14 lsbs, and the second write contains the 14 msbs. for this mode of operation, control bit b28 (db13) should be set to 1. an example of a 28-bit write is shown in table 11 . note however that continuous writes to the same frequency register are not recommended. this results in intermediate updates during the writes. if a frequency sweep, or something similar, is required, it is recommended that users alternate between the two frequency registers. table 11. writing fffc000 to freq0 reg sdata input result of input word 0010 0000 0000 0000 control word write (db15, db14 = 00), b28 (db13) = 1, hlb (db12) = x 0100 0000 0000 0000 freq0 reg write (db15, db14 = 01), 14 lsbs = 0000 0111 1111 1111 1111 freq0 reg write (db15, db14 = 01), 14 msbs = 3fff in some applications, the user does not need to alter all 28 bits of the frequency register. with coarse tuning, only the 14 msbs are altered; though with fine tuning only the 14 lsbs are altered. by setting control bit b28 (db13) to 0, the 28-bit frequency register operates as two 14-bit registers, one containing the 14 msbs and the other containing the 14 lsbs. this means that the 14 msbs of the frequency word can be altered independent of the 14 lsbs, and vice versa. bit hlb (db12) in the control register identifies the 14 bits that are being altered. examples of this are shown in table 12 and table 13 . table 12. writing 3fff to the 14 lsbs of freq1 reg sdata input result of input word 0000 0000 0000 0000 control word write (db15, db14 = 00), b28 (db13) = 0, hlb (db12) = 0, that is, lsbs 1011 1111 1111 1111 freq1 reg write (db15, db14 = 10), 14 lsbs = 3fff table 13. writing 00ff to the 14 msbs of freq0 reg sdata input result of input word 0001 0000 0000 0000 control word write (db15, db14 = 00), b28 (db13) = 0, hlb (db12) = 1, that is, msbs 0100 0000 1111 1111 freq0 reg write (db15, db14 = 01), 14 msbs = 00ff writing to a phase register when writing to a phase register, bit db15 and bit db14 are set to 11. bit db13 identifies which phase register is being loaded. table 14. phase register bits db15 db14 db13 db 12 db11 db0 1 1 0 x msb 12 phase0 bits lsb 1 1 1 x msb 12 phase1 bits lsb reset function the reset function resets appropriate internal registers to 0 to provide an analog output of midscale. reset does not reset the phase, frequency, or control registers. when the ad9834 is powered up, the part should be reset. to reset the ad9834, set the reset pin/bit to 1. to take the part out of reset, set the pin/bit to 0. a signal appears at the dac output seven mclk cycles after reset is set to 0. the reset function is controlled by both the reset pin and the reset control bit. if the control bit pin/sw = 0, the reset bit controls the function, whereas if pin/sw = 1, the reset pin controls the function. table 15. applying reset reset pin reset bit pin/sw bit result 0 x 1 no reset applied 1 x 1 internal registers reset x 0 0 no reset applied x 1 0 internal registers reset the effect of asserting the reset pin is evident immediately at the output, that is, the zero-to-one transition of this pin is not sampled. however, the negative transition of reset is sampled on the internal falling edge of mclk. sleep function sections of the ad9834 that are not in use can be powered down to minimize power consumption by using the sleep function. the parts of the chip that can be powered down are the internal clock and the dac. the dac can be powered down through hardware or software. the pin/bits required for the sleep function are outlined in table 16 .
ad9834 rev. c | page 22 of 36 table 16. applying the sleep function sleep pin sleep1 bit sleep12 bit pin/sw bit result 0 x x 1 no power-down 1 x x 1 dac powered down x 0 0 0 no power-down x 0 1 0 dac powered down x 1 0 0 internal clock disabled x 1 1 0 both the dac powered down and the internal clock disabled dac powered down this is useful when the ad9834 is used to output the msb of the dac data only. in this case, the dac is not required and can be powered down to reduce power consumption. internal clock disabled when the internal clock of the ad9834 is disabled, the dac output remains at its present value because the nco is no longer accumulating. new frequency, phase, and control words can be written to the part when the sleep1 control bit is active. the synchronizing clock remains active, meaning that the selected frequency and phase registers can also be changed either at the pins or by using the control bits. setting the sleep1 bit to 0 enables the mclk. any changes made to the registers when sleep1 is active are observed at the output after a certain latency. the effect of asserting the sleep pin is evident immediately at the output, that is, the zero-to-one transition of this pin is not sampled. however, the negative transition of sleep is sampled on the internal falling edge of mclk. sign bit out pin the ad9834 offers a variety of outputs from the chip. the digital outputs are available from the sign bit out pin. the available outputs are the comparator output or the msb of the dac data. the bits controlling the sign bit out pin are outlined in tabl e 17 . this pin must be enabled before use. the enabling/disabling of this pin is controlled by the bit opbiten (db5) in the control register. when opbiten = 1, this pin is enabled. note that the mode bit (db1) in the control register should be set to 0 if opbiten = 1. comparator output the ad9834 has an on-board comparator. to connect this comparator to the sign bit out pin, the sign/pib (db4) control bit must be set to 1. after filtering the sinusoidal output from the dac, the waveform can be applied to the comparator to generate a square waveform. msb from the nco the msb from the nco can be output from the ad9834. by setting the sign/pib (db4) control bit to 0, the msb of the dac data is available at the sign bit out pin. this is useful as a coarse clock source. this square wave can also be divided by two before being output. bit div2 (db3) in the control register controls the frequency of this output from the sign bit out pin. table 17. various outputs from sign bit out opbiten bit mode bit sign/pib bit div2 bit sign bit out pin 0 x x x high impedance 1 0 0 0 dac data msb/2 1 0 0 1 dac data msb 1 0 1 0 reserved 1 0 1 1 comparator output 1 1 x x reserved the iout and ioutb pins the analog outputs from the ad9834 are available from the iout and ioutb pins. the available outputs are a sinusoidal output or a triangle output. sinusoidal output the sin rom converts the phase information from the frequency and phase registers into amplitude information, resulting in a sinusoidal signal at the output. to have a sinusoidal output from the iout and ioutb pins, set bit mode (db1) to 0. triangle output the sin rom can be bypassed so that the truncated digital output from the nco is sent to the dac. in this case, the output is no longer sinusoidal. the dac produces 10-bit linear triangular function. to have a triangle output from the iout and ioutb pins, set bit mode (db1) to 1. note that the sleep pin and sleep12 bit must be 0 (that is, the dac is enabled) when using the iout and ioutb pins. table 18. various outputs from iout and ioutb opbiten bit mode bit iout and ioutb pins 0 0 sinusoid 0 1 triangle 1 0 sinusoid 1 1 reserved 3 /2 7 /2 11 /2 v out max v out min 0 2705-027 figure 30. triangle output
ad9834 rev. c | page 23 of 36 applications information because of the various output options available from the part, the ad9834 can be configured to suit a wide variety of applications. one of the areas where the ad9834 is suitable is in modulation applications. the part can be used to perform simple modulation such as fsk. more complex modulation schemes such as gmsk and qpsk can also be implemented using the ad9834. in an fsk application, the two frequency registers of the ad9834 are loaded with different values. one frequency represents the space frequency, and the other represents the mark frequency. the digital data stream is fed to the fselect pin, causing the ad9834 to modulate the carrier frequency between the two values. the ad9834 has two phase registers, enabling the part to perform psk. with phase shift keying, the carrier frequency is phase shifted, the phase being altered by an amount that is related to the bit stream that is input to the modulator. the ad9834 is also suitable for signal generator applications. with the on-board comparator, the device can be used to generate a square wave. with its low current consumption, the part is suitable for applications where it is used as a local oscillator. change phase? change frequency? no no no no yes no yes yes no yes yes yes yes yes dac output v out = v refout 18 r load /r set (1 + (sin(2 (freqreg f mclk t/2 28 + phasereg/2 12 )))) initialization see figure 32 select data sources see figure 34 wait 8/9 mclk cycles see timing diagram figure 3 change psel/ pselect? change phase register? change dac output from sin to ramp? change output at sign bit out pin? change fsel/ fselect? change frequency register? control register write data write see figure 33 02705-028 figure 31. flow chart for initialization and operation
ad9834 rev. c | page 24 of 36 initialization apply reset using pin set reset pin = 1 using pin using control bit (control register write) reset = 1 pin/sw = 0 (control register write) pin/sw = 1 using control bit set reset = 0 select frequency registers select phase registers (control register write) reset bit = 0 fsel = selected frequency register psel = selected phase register pin/sw = 0 (apply signals at pins) reset pin = 0 fselect = selected frequency register pselect = selected phase register write to frequency and phase registers freq0 reg = f out0 /f mclk 2 28 freq1 reg = f out1 /f mclk 2 28 phase0 and phase1 reg = (phaseshift 2 12 )/2 (see figure 33) 02705-029 figure 32. initialization no yes data write no yes yes no yes no no yes yes write a full 28-bit word to a frequency register? (control register write) b28 (d13) = 1 write two consecutive 16-bit words (see table 11 for example) write another full 28-bit to a frequency register? write 14 msbs or lsbs to a frequency register? (control register write) b28 (d13) = 0 hlb (d12) = 0/1 write a 16-bit word (see tables 12 and 13 for examples) write 14 msbs or lsbs to a frequency register? write to phase register? d15, d14 = 11 d13 = 0/1 (choose the phase register) d12 = x d11 ... d0 = phase data (16-bit write) write to another phase register? 02705-030 figure 33. data write
ad9834 rev. c | page 25 of 36 select data sources yes no fselect and pselect pins being used? (control register write) pin/sw = 0 set fsel bit set psel bit set fselect and pselect (control register write) pin/sw = 1 0 2705-031 figure 34. selecting data sources
ad9834 rev. c | page 26 of 36 grounding and layout the printed circuit board (pcb) that houses the ad9834 should be designed so that the analog and digital sections are separated and confined to certain areas of the board. this facilitates the use of ground planes that can easily be separated. a minimum etch technique is generally best for ground planes because it gives the best shielding. digital and analog ground planes should only be joined in one place. if the ad9834 is the only device requiring an agnd-to-dgnd connection, the ground planes should be connected at the agnd and dgnd pins of the ad9834. if the ad9834 is in a system where multiple devices require agnd-to-dgnd connections, the connection should be made at one point only, establishing a star ground point as close as possible to the ad9834. avoid running digital lines under the device because these couple noise onto the die. the analog ground plane should be allowed to run under the ad9834 to avoid noise coupling. the power supply lines to the ad9834 should use as large a track as possible to provide low impedance paths and reduce the effects of glitches on the power supply line. fast switching signals, such as clocks, should be shielded with digital ground to avoid radiating noise to other sections of the board. avoid crossover of digital and analog signals. traces on opposite sides of the board should run at right angles to each other to reduce the effects of feed- through through the board. a microstrip technique is by far the best, but it is not always possible with a double-sided board. in this technique, the component side of the board is dedicated to ground planes and signals are placed on the other side. good decoupling is important. the analog and digital supplies to the ad9834 are independent and separately pinned out to minimize coupling between analog and digital sections of the device. all analog and digital supplies should be decoupled to agnd and dgnd, respectively, with 0.1 f ceramic capacitors in parallel with 10 f tantalum capacitors. to achieve the best performance from the decoupling capacitors, they should be placed as close as possible to the device, ideally right up against the device. in systems where a common supply is used to drive both the avdd and dvdd of the ad9834, it is recommended that the systems avdd supply be used. this supply should have the recommended analog supply decoupling between the avdd pins of the ad9834 and agnd, and the recommended digital supply decoupling capacitors between the dvdd pins and dgnd. proper operation of the comparator requires good layout strategy. the strategy must minimize the parasitic capacitance between vin and the sign bit out pin by adding isolation using a ground plane. for example, in a multilayered board, the vin signal could be connected to the top layer, and the sign bit out could be connected to the bottom layer so that isolation is provided by the power and ground planes between them.
ad9834 rev. c | page 27 of 36 interfacing to microprocessors the ad9834 has a standard serial interface that allows the part to interface directly with several microprocessors. the device uses an external serial clock to write the data/control information into the device. the serial clock can have a frequency of 40 mhz maximum. the serial clock can be continuous, or it can idle high or low between write operations. when data/control information is being written to the ad9834, fsync is taken low and is held low until the 16 bits of data are written into the ad9834. the fsync signal frames the 16 bits of information being loaded into the ad9834. ad9834 to adsp-21xx interface figure 35 shows the serial interface between the ad9834 and the adsp-21xx. the adsp-21xx should be set up to operate in the sport transmit alternate framing mode (tfsw = 1). the adsp-21xx is programmed through the sport control register and should be configured as follows: ? internal clock operation (isclk = 1) ? active low framing (invtfs = 1) ? 16-bit word length (slen = 15) ? internal frame sync signal (itfs = 1) ? generate a frame sync for each write (tfsr = 1) transmission is initiated by writing a word to the tx register after the sport has been enabled. the data is clocked out on each rising edge of the serial clock and clocked into the ad9834 on the sclk falling edge. 1 additional pins omitted for clarity. ad9834 1 fsync sdata sclk tfs dt sclk adsp-21xx 1 02705-032 figure 35. adsp-21xx to ad9834 interface ad9834 to 68hc11/68l11 interface figure 36 shows the serial interface between the ad9834 and the 68hc11/68l11 microcontroller. the microcontroller is configured as the master by setting bit mstr in the spcr to 1, providing a serial clock on sck while the mosi output drives the serial data line sdata. because the microcontroller does not have a dedicated frame sync pin, the fsync signal is derived from a port line (pc7). the setup conditions for correct operation of the interface are as follows: ? sck idles high between write operations (cpol = 0) ? data is valid on the sck falling edge (cpha = 1) when data is being transmitted to the ad9834, the fsync line is taken low (pc7). serial data from the 68hc11/68l11 is transmitted in 8-bit bytes with only eight falling clock edges occurring in the transmit cycle. data is transmitted msb first. to load data into the ad9834, pc7 is held low after the first eight bits are transferred and a second serial write operation is performed to the ad9834. only after the second eight bits have been transferred should fsync be taken high again. 1 additional pins omitted for clarity. ad9834 1 fsync sdata sclk 68hc11/68l11 1 pc7 mosi sck 02705-033 figure 36. 68hc11/68l11 to ad9834 interface
ad9834 rev. c | page 28 of 36 ad9834 to 80c51/80l51 interface figure 37 shows the serial interface between the ad9834 and the 80c51/80l51 microcontroller. the microcontroller is operated in mode 0 so that txd of the 80c51/80l51 drives sclk of the ad9834, and rxd drives the serial data line (sdata). the fsync signal is derived from a bit programmable pin on the port (p3.3 is shown in the diagram). when data is to be transmitted to the ad9834, p3.3 is taken low. the 80c51/80l51 transmits data in 8-bit bytes, thus only eight falling sclk edges occur in each cycle. to load the remaining eight bits to the ad9834, p3.3 is held low after the first eight bits have been transmitted, and a second write operation is initiated to transmit the second byte of data. p3.3 is taken high following the completion of the second write operation. sclk should idle high between the two write operations. the 80c51/80l51 outputs the serial data in an lsb- first format. the ad9834 accepts the msb first (the four msbs being the control information, the next four bits being the address, and the eight lsbs containing the data when writing to a destination register). therefore, the transmit routine of the 80c51/80l51 must take this into account and rearrange the bits so that the msb is output first. 1 additional pins omitted for clarity. ad9834 1 fsync sdata sclk 80c51/80l51 1 p3.3 rxd txd 02705-034 figure 37. 80c51/80l51 to ad9834 interface ad9834 to dsp56002 interface figure 38 shows the interface between the ad9834 and the dsp56002. the dsp56002 is configured for normal mode asynchronous operation with a gated internal clock (syn = 0, gck = 1, sckd = 1). the frame sync pin is generated internally (sc2 = 1), the transfers are 16 bits wide (wl1 = 1, wl0 = 0), and the frame sync signal frames the 16 bits (fsl = 0). the frame sync signal is available on pin sc2, but needs to be inverted before being applied to the ad9834. the interface to the dsp56000/ dsp56001 is similar to that of the dsp56002. 1 additional pins omitted for clarity. ad9834 1 fsync sdata sclk dsp56002 1 sc2 std sck 02705-035 figure 38. dsp56002 to ad9834 interface
ad9834 rev. c | page 29 of 36 evaluation board system development platform the system development platform (sdp) is a hardware and software evaluation tool for use in conjunction with product evaluation boards. the sdp board is based on the black fin ? bf527 processor with usb connectivity to the pc through a usb 2.0 high speed port. for more information about this device, go to: www.analog.com/en/embedded-processing- dsp/blackfin/bf527sdp-hw/processors/product.html . note that the sdp board is sold separately from the ad9834 evaluation board. ad9834 to sport interface the analog devices sdp board has a sport serial port that is used to control the serial inputs to the ad9834 . the connections are shown in figure 39 . ad9834 fsync sdata sclk 02705-041 sport_tfs sport_tsclk sport_dto adsp-bf527 figure 39. sdp to ad9834 interface the ad9834 evaluation board allows designers to evaluate the high performance ad9834 dds modulator with a minimum of effort. the gui interface for the ad9834 evaluation board is shown in figure 40 . 02705-042 figure 40. ad9834 evaluation software the dds evaluation kit includes a populated, tested ad9834 pcb. software is available with the evaluation board that allows the user to easily program the ad9834. the schematics of the ad9834 evaluation board are shown in figure 41 and figure 42 . the software runs on any ibm-compatible pc that has microsoft? windows? 95, windows 98, windows me, windows 2000 nt?, or windows 7 installed. additional details can be found in the eval-ad9834eb data sheet that is available on the software cd and the ad9834 product page. xo vs. external clock the ad9834 can operate with master clocks up to 75 mhz. a 75 mhz general oscillator is included on the evaluation board. however, this oscillator can be removed and, if required, an external cmos clock can be connected to the part. two options for the general oscillator are: ? ael 301 series crystals oscillators, ael crystals, ltd. ? sg-310scn oscillators, epson toyocom corporation power supply power to the ad9834 evaluation board can be provided from usb connector or externally through pin connections. the power leads should be twisted to reduce ground loops.
ad9834 rev. c | page 30 of 36 evaluation board schematics 02705-043 figure 41. ad9834 evaluation board schematic, part a
ad9834 rev. c | page 31 of 36 02705-044 figure 42. ad9834 evaluation board schematic, part bj1 header connector
ad9834 rev. c | page 32 of 36 evaluation board layout 02705-045 figure 43. ad9834 evaluation board component side
ad9834 rev. c | page 33 of 36 02705-046 figure 44. ad9834 evaluation board silkscreen
ad9834 rev. c | page 34 of 36 02705-047 figure 45. ad9834 evaluation board solder side
ad9834 rev. c | page 35 of 36 outline dimensions compliant to jedec standards mo-153-ac 20 1 11 10 6.40 bsc 4.50 4.40 4.30 pin 1 6.60 6.50 6.40 seating plane 0.15 0.05 0.30 0.19 0.65 bsc 1.20 max 0.20 0.09 0.75 0.60 0.45 8 0 coplanarit y 0.10 fi gure 46. 20-lead thin shrink small outline package [tssop] (ru-20) dimensions shown in millimeters ordering guide model 1 , 2 maximum mclk (mhz) temperature range package description package option ad9834bru 50 ?40c to +105c 20-lead thin shrink small outline package [tssop] ru-20 ad9834bru-reel 50 ?40c to +105c 20-lead thin shrink small outline package [tssop] ru-20 ad9834bru-reel7 50 ?40c to +105c 20-lead thin shrink small outline package [tssop] ru-20 ad9834bruz 50 ?40c to +105c 20-lead thin shrink small outline package [tssop] ru-20 ad9834bruz-reel 50 ?40c to +105c 20-lead thin shrink small outline package [tssop] ru-20 ad9834bruz-reel7 50 ?40c to +105c 20-lead thin shrink small outline package [tssop] ru-20 ad9834cruz 75 ?40c to +105c 20-lead thin shrink small outline package [tssop] ru-20 ad9834cruz-reel7 75 ?40c to +105c 20-lead thin shrink small outline package [tssop] ru-20 EVAL-AD9834SDZ 75 evaluation board (to be used in conjunction with a sdp board) 1 z = rohs compliant part. 2 for the EVAL-AD9834SDZ, a sdp board is required.
ad9834 rev. c | page 36 of 36 notes ?2003C2011 analog devices, inc. all rights reserved. trademarks and registered trademarks are the property of their respective owners. d02705-0-2/11(c)


▲Up To Search▲   

 
Price & Availability of EVAL-AD9834SDZ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X